﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<html>
<head><link rel="stylesheet" href="${ctx}/common/common.css">
    <title>Title</title>
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/layui/css/layui.css" media="all">
    <link rel="stylesheet" href="${ctx}/common/plugins/layuiadmin/style/admin.css" media="all">
    <script src="${ctx}/common/plugins/layuiadmin/layui/layui.js"></script>
    
    <script src="${ctx}/common/plugins/jquery-1.10.2.min.js"></script>
</head>
<body>
<form class="layui-form" action="${ctx}/department/saveDepartment">
    <div class="layui-form-item layui-col-md5" style="margin-top: 50px">
        <label class="layui-form-label">父级类别</label>
        <div class="layui-input-block">
            <input disabled id="personCla" value="${personEntity.name}" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-col-md5">
        <label class="layui-form-label">类别名称</label>
        <div class="layui-input-block">
            <input type="text" name="name" value="${entity.name}" disabled class="layui-input">
        </div>
    </div>
    <%-- <div class="layui-form-item layui-col-md5">
        <label class="layui-form-label">编号</label>
        <div class="layui-input-block">
            <input type="text" name="code" value="${entity.code}" disabled class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-col-md5">
        <label class="layui-form-label">描述</label>
        <div class="layui-input-block">
            <input type="text" name="described" value="${entity.described}" disabled class="layui-input">
        </div>
    </div> --%>
    <%-- <div class="layui-form-item layui-col-md5">
        <label class="layui-form-label">创建时间</label>
        <div class="layui-input-block">
            <input type="text" disabled
                   value="<fmt:formatDate value='${entity.createTime}' pattern="yyyy-MM-dd"/>" autocomplete="off"
                   class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-col-md5">
        <label class="layui-form-label">创建人</label>
        <div class="layui-input-block">
            <input type="text" disabled value="${entity.creatorName}" autocomplete="off" class="layui-input">
        </div>
    </div> --%>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="button" id="rollback" class="layui-btn layui-btn-primary">返回</button>
        </div>
    </div>
</form>
<script>
    document.getElementById("rollback").addEventListener("click",function(){
        window.history.back();
    })
</script>
</body>
</html>



